package com.jvm123.cassandra.service;

import com.datastax.driver.core.querybuilder.Insert;
import com.datastax.driver.core.querybuilder.QueryBuilder;
import com.jvm123.cassandra.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.cassandra.core.CassandraTemplate;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * @author yawn
 * 2019/9/11 17:33
 */
@Service
public class UserService {

    @Autowired
    private CassandraTemplate cassandraTemplate;

//    public User insert(int id) {
//       cassandraTemplate.insert(new User());
//       cassandraTemplate.
//    }
}
